import request from '@/utils/request.js'
import qs from 'qs'

function GetBigDate(data) {
	//https://ys.endata.cn/enlib-api/api/movie/gettrendbywholegrail_day_chart1.do
	return request.post("/enlib-api/api/movie/gettrendbywholegrail_day_chart1.do", qs.stringify(data), {
		headers: {
			"Content-Type": "application/x-www-form-urlencoded"
		}
	})
}
//https://ys.endata.cn/enlib-api/api/movie/gettrendbywholegrail_day_chart2.do
function GetBing1(data) {
	return request.post("/enlib-api/api/movie/gettrendbywholegrail_day_chart2.do", qs.stringify(data), {
		headers: {
			"Content-Type": "application/x-www-form-urlencoded"
		}
	})
}

function GetBing2(data) {
	//https://ys.endata.cn/enlib-api/api/movie/gettrendbywholegrail_day_chart1.do
	return request.post("/enlib-api/api/movie/gettrendbywholegrail_day_chart3.do", qs.stringify(data), {
		headers: {
			"Content-Type": "application/x-www-form-urlencoded"
		}
	})
}

function GetBing3(data) {
	//https://ys.endata.cn/enlib-api/api/movie/gettrendbywholegrail_day_chart1.do
	return request.post("/enlib-api/api/movie/gettrendbywholegrail_day_chart4.do", qs.stringify(data), {
		headers: {
			"Content-Type": "application/x-www-form-urlencoded"
		}
	})
}
//https://ys.endata.cn/enlib-api/api/movie/gettrendbywholegrail_day_list.do
function GetBottom(data) {
	//https://ys.endata.cn/enlib-api/api/movie/gettrendbywholegrail_day_chart1.do
	return request.post("/enlib-api/api/movie/gettrendbywholegrail_day_list.do", qs.stringify(data), {
		headers: {
			"Content-Type": "application/x-www-form-urlencoded"
		}
	})
}
export {
	GetBigDate,GetBing3,GetBing2,GetBing1,GetBottom
}
